package com.jinsilu.freight.http.request;

import com.hjq.http.annotation.HttpIgnore;
import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;

/**
 * author : byd
 * time   : 2019/12/07
 * desc   : 获取线路信息（实际需要经纬度）
 */
public final class GetLineInfoByIdApi implements IRequestApi, IRequestType {

    @Override
    public String getApi() {
        return "api/waybill/getLineInfoById";
    }

    /**
     * 手机号
     */
    private String lineId;

    public GetLineInfoByIdApi setLineId(String lineId) {
        this.lineId = lineId;
        return this;
    }

    @Override
    public BodyType getType() {
        return BodyType.FORM;
    }
}